package com.prelearning.at_springboot.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author cgr
 * @since 2022-04-10
 */
@Getter
@Setter
  @TableName("published")
@ApiModel(value = "Published对象", description = "")
public class Published implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "sign_in_id")
      @ApiModelProperty("签到信息表id")
        private String signInId;

      @ApiModelProperty("签到类型")
      private String signInType;

      @ApiModelProperty("发起人id")
      private String userId;

      @ApiModelProperty("发起人名称")
      private String useName;

      @ApiModelProperty("群组id")
      private String groupId;

      @ApiModelProperty("群组名称")
      private String groupName;

      @ApiModelProperty("发布状态")
      private Integer publishStatus;

      @ApiModelProperty("发布时间")
      private LocalDateTime startTime;

      @ApiModelProperty("限制时间")
      private Integer limitTime;

      @ApiModelProperty("结束时间")
      private LocalDateTime endTime;

      @ApiModelProperty("发起人定位")
      private String userLocation;

      @ApiModelProperty("投票问题")
      private String voteQuestion;

      @ApiModelProperty("投票选项")
      private String voteOption;

      @ApiModelProperty("投票结果")
      private String voteResult;

      @ApiModelProperty("预签到人数")
      private Integer expectNumber;

      @ApiModelProperty("已签到人数")
      private Integer signedNumber;

      @ApiModelProperty("未签到人数")
      private Integer unsignedNumber;

      @ApiModelProperty("创建时间")
      private LocalDateTime creatTime;

      @ApiModelProperty("签到结果")
      private String result;


}
